package cn.com.chengmandian.xh.model;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 合作商库存变动记录表
 * </p>
 *
 * @author AutoGenerator
 */
@Getter
@Setter
@TableName("xh_merchants_inout")
@ApiModel(value = "XhMerchantsInout对象", description = "合作商库存变动记录表")
public class XhMerchantsInout implements Serializable {

    private static final long serialVersionUID = 1L;

    private Integer id;

    private String orderNo;

    @ApiModelProperty("关联合作商ID")
    private Integer merchantsId;

    @ApiModelProperty("出入库类型，1-入库，2-出库")
    private Integer type;

    @ApiModelProperty("业务类型，10-提货入库，11-换电入库，12-停租入库，13-返厂退回入库，21-换电出库，22-租赁出库，23-返厂出库")
    private Integer businessType;

    @ApiModelProperty("电池总数")
    private Integer batteryNumber;

    @ApiModelProperty("操作人")
    private Integer createUserId;

    @ApiModelProperty("创建人名称")
    private String createUserName;

    @ApiModelProperty("创建时间")
    private Date createTime;

}
